<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>D3JS</title>
  <style>
    #container{
      background: #ddd;
      width: 500px;
      height: 250px;
    }
  </style>
</head>
<body>
<div id="container"></div>

<script src="https://d3js.org/d3.v3.min.js"></script>
<!--<script src="d3.v4.min.js"></script>-->
<script src="main.js"></script>
</body>
</html>